package com.locationhistory.dao;

import java.util.List;

import com.locationhistory.bean.LocationHistory;

/**
 * 
 * @author thuanlv1
 *
 */
public interface LocationDAO {
	/**
	 * save new location
	 * 
	 * @param locationHistory
	 */
	public void saveLocation(LocationHistory locationHistory);
	
	/**
	 * update location
	 * 
	 * @param locationHistory
	 */
	public void updateLocation(LocationHistory locationHistory);
	
	/**
	 * get location by address
	 * 
	 * @param address
	 */
	public LocationHistory getLocationByAddress(String address);
	
	
	/**
	 * get location list
	 * 
	 * @return
	 */
	public List<LocationHistory> getLocationList();
}
